package com.dz.content.domain.entity;

import com.dz.common.core.entity.BaseEntity;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @ClassName : Content
 * @Description :
 * @Author : ming
 * @Date: 2020-12-14 10:37
 **/
@Table(name="tb_content")
@Data
@Entity
public class Content extends BaseEntity implements Serializable {
    /** serialVersionUID. */
    private static final long serialVersionUID = 1L;

    @Id
    @Column(name = "id")
    private Long id;

    @Column(name = "category_id")
    private Long categoryId;
    @Column(name = "title")
    private String title;
    @Column(name = "url")
    private String url;
    @Column(name = "pic")
    private String pic;
    @Column(name = "status")
    private String status;
    @Column(name = "sort_order")
    private String sortOrder;
}
